/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

import dao.AlunoImplementsPessoaDAO;
import dao.IPessoaDAO;
import java.io.Serializable;
import java.util.Date;
import javax.faces.bean.ManagedBean;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 *
 * @author crevin
 */

@Entity
@Table(name="aluno", schema="megaperformance")
public class Aluno extends Pessoa{
    //<editor-fold defaultstate="collapsed" desc="Atributos">
    @Column(name="data_aprovacao", nullable=true)
    @Temporal(TemporalType.TIMESTAMP)
    private Date dataAprovacao;
    //</editor-fold>
    
    //<editor-fold defaultstate="collapsed" desc="Propriedades">
    public Date getDataAprovacao() {
        return dataAprovacao;
    }
    
    public void setDataAprovacao(Date dataAprovacao) {
        this.dataAprovacao = dataAprovacao;
    }
    //</editor-fold>
}
